package cn.tedu.scalabasic

/**
 * @author Amos
 * @date 2022/5/17
 */

object DataTypes {
  def main(args: Array[String]): Unit = {
    // Int
    val a = 10
    println(a,a.getClass)

    // Double
    val b = 3.14
    println(b,b.getClass)

    // Unit
    val c:Unit = 12
    println(c,getClass)

    val str = "hello"
    println(str,str.getClass)
  }

}
